﻿using System;

namespace Chip8.Core.Processor.Operations
{
	internal class RET : Operation
	{
		public override void Execute(ICPU cpu)
		{
			var returnAddress = cpu.Stack.Pop();
			cpu.PC = returnAddress;
		}
	}
}
